import java.util.Random;
public class Random1 {
	public static void main(String[] args) {
		Random r1 = new Random(10);
		Random r2 = new Random(10);
		for(int i = 0 ;i<2 ;i++){
			System.out.println(r1.nextInt());
			System.out.println(r2.nextInt());
		}
   }
}
